export const hunru = { //分别暴露
    methods: {
        showName() {
            alert(this.name)
        }
    },
    mounted() {
        console.log('钩子都要,无优先级,混合钩子在前,组件钩子在后')
    }
}

export const hunru2 = { //分别暴露
    methods: {
        showName() {
            alert(this.name)
        }
    }
}